package com.ms.web.config;

import com.ms.common.utils.EnvUtil;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CommonBeanConfiguration {

	@Value("${spring.profiles.active:default}")
	private String env;

	@Bean
	public EnvUtil getEnvUtil() {
		return new EnvUtil(env);
	}

}
